package com.cqut.service;

import java.util.List;
import java.util.Map;

import com.cqut.model.AcceptDetail;

public interface IAcceptDetailService {
    boolean save(AcceptDetail acceptDetail);

    boolean update(AcceptDetail acceptDetail);

    boolean delete(String acceptId);

    boolean batchDelete(String[] primaryKeys);

    AcceptDetail findModel(String acceptId);

    AcceptDetail findModel(String acceptId, String[] parameters);

    Map<String, Object> findMap(String acceptId);

    Map<String, Object> findMap(String acceptId, String[][] parameters);

    List<AcceptDetail> loadModels();

    List<AcceptDetail> loadModels(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<AcceptDetail> loadModels(String[] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps();

    List<Map<String, Object>> loadMaps(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps(String[][] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    long count();

    long count(String condition, Object[] values);

    long count(String[] parameters, boolean isDistinct);

    long count(String[] parameters, String condition, Object[] values, boolean isDistinct);
}
